package zhu.areas.dic.data;

import java.util.HashSet;
import java.util.Set;


/**
 * @hibernate.class  table="D_TeamField"   dynamic-insert="true"  dynamic-update="true"
 * @author Administrator
 *
 */
public class TeamField {

	private int teamFieldID;
	
	private String teamFieldName;
	
	private Set teamNow = new HashSet(0);
	private Set teamGoal = new HashSet(0);
	
	public TeamField(){}
	
	public TeamField(int teamFieldID){
		this.teamFieldID=teamFieldID;
	}

	
	/**
	 * @hibernate.id column="TeamFieldID"  generator-class="increment"  unsaved-value="null"
	 * @return
	 */
	public int getTeamFieldID() {
		return teamFieldID;
	}

	public void setTeamFieldID(int teamFieldID) {
		this.teamFieldID = teamFieldID;
	}

	
	/**
	 * @hibernate.property column = "TeamFieldName"     not-null="true"
	 * @return
	 */
	public String getTeamFieldName() {
		return teamFieldName;
	}

	public void setTeamFieldName(String teamFieldName) {
		this.teamFieldName = teamFieldName;
	}
	/**
	 * @hibernate.set table="T_Team" inverse="true" lazy="false"
	 * @hibernate.collection-key column="TeamNowField"
	 * @hibernate.collection-one-to-many class="zhu.areas.team.data.Team"
	 *                                  
	 */

	public Set getTeamNow() {
		return teamNow;
	}

	public void setTeamNow(Set teamNow) {
		this.teamNow = teamNow;
	}
	/**
	 * @hibernate.set table="T_Team" inverse="true" lazy="false"
	 * @hibernate.collection-key column="TeamGoalField" 
	 * @hibernate.collection-one-to-many class="zhu.areas.team.data.Team"
	 *                                  
	 */
	public Set getTeamGoal() {
		return teamGoal;
	}

	public void setTeamGoal(Set teamGoal) {
		this.teamGoal = teamGoal;
	}


	
}
